######### MKS Robin Lite configuration #########
#-------------------------------------------------------------
#ѡֻڳʹ
#>cfg_hardware_test_enable	1			#Ӳʹܡ

#===================  (Basic Settings) =========================

>MACHINETPYE  			0			#ṹͣmachine type0:Cartesian; 1:DELTA ; 2:COREXY

>LCD_LANGUAGE 			0			#ԣLanguage0:English;  1:Chinese

>HAS_TEMP_BED 			1	        	#Ƿȴwhether enable the heated bed (disable: 0, enable: 1)

# Travel limits after homing (units are in mm)
>X_MIN_POS 			0			#X᷽Сг̣the MIN X-axis distance			
>Y_MIN_POS 			0			#Y᷽Сг̣the MIN Y-axis distance
>Z_MIN_POS 			0			#Z᷽Сг̣the MIN Z-axis distance
>X_MAX_POS 			210			#X᷽г̣the MAX X-axis distance
>Y_MAX_POS 			210			#Y᷽г̣the MAX Y-axis distance
>Z_MAX_POS 			180			#Z᷽г̣the MAX Z-axis distance

# position of hotend  for filament change and pause print
>FILAMENT_CHANGE_X_POS 		5			#XͣͶϼͣλãX position of hotend  for filament change and pause print
>FILAMENT_CHANGE_Y_POS 		5	 		#YͣͶϼͣλãY position of hotend  for filament change and pause print
>FILAMENT_CHANGE_Z_ADD 		5			#ZͣͶϼͣλãZ addition of hotend (lift)	for filament change and pause print 

#============  (Stepper Motor Settings)===================

#òSet stepper current 
>CURRENT_VREF_XY                500			#XYĬϵλΪmAΧ0~1000Default motor current for XY in mArange (0~1000)
>CURRENT_VREF_Z                 500			#ZĬϵλΪmAΧ0~1000 Default motor current for Z  in mArange (0~1000)
>CURRENT_VREF_E                 500     		#EĬϵλΪmAΧ0~1000 Default motor current for E  in mArange (0~1000)

#Invert the stepper direction
>INVERT_X_DIR 	                1			#X (X motor direction)
>INVERT_Y_DIR 	                0			#Y (Y motor direction)
>INVERT_Z_DIR                	1			#Z (Z motor direction)
>INVERT_E0_DIR           	0			#E (E motor direction)

#˶(Movement setting)
>DEFAULT_X_STEPS_PER_UNIT	80.6			#Xÿmmֵ Default Axis-X Steps Per Unit (steps/mm)	
>DEFAULT_Y_STEPS_PER_UNIT	80.4			#Yÿmmֵ Default Axis-Y Steps Per Unit (steps/mm)	
>DEFAULT_Z_STEPS_PER_UNIT	400			#Zÿmmֵ Default Axis-Z Steps Per Unit (steps/mm)	
>DEFAULT_E_STEPS_PER_UNIT	90			#Eÿmmֵ Default Axis-E Steps Per Unit (steps/mm)	

>DEFAULT_X_MAX_FEEDRATE		200			#ĬX˶ٶmm/s Default Axis-X Max Feed Rate (mm/s)		
>DEFAULT_Y_MAX_FEEDRATE		200			#ĬY˶ٶmm/s Default Axis-Y Max Feed Rate (mm/s)		
>DEFAULT_Z_MAX_FEEDRATE		4			#ĬZ˶ٶmm/s Default Axis-Z Max Feed Rate (mm/s)		
>DEFAULT_E_MAX_FEEDRATE		70			#ĬE˶ٶmm/s Default Axis-E Max Feed Rate (mm/s)		

>DEFAULT_X_MAX_ACCELERATION	1000			#XĴӡٶmm/s Default Axis-X Max Acceleration (change/s) change = mm/s
>DEFAULT_Y_MAX_ACCELERATION	1000			#YĴӡٶmm/s Default Axis-Y Max Acceleration (change/s) change = mm/s
>DEFAULT_Z_MAX_ACCELERATION	100			#ZĴӡٶmm/s Default Axis-Z Max Acceleration (change/s) change = mm/s
>DEFAULT_E_MAX_ACCELERATION	1000			#EĴӡٶmm/s Default Axis-E Max Acceleration (change/s) change = mm/s

>DEFAULT_ACCELERATION		1000			#X, Y, Z and E acceleration for printing moves		
>DEFAULT_RETRACT_ACCELERATION	1000			#X, Y, Z and E acceleration for retracts		
>DEFAULT_TRAVEL_ACCELERATION	1000			#X, Y, Z acceleration for travel (non printing) moves	
>DEFAULT_MINIMUMFEEDRATE	0.0			#minimum feedrate						
>DEFAULT_MINSEGMENTTIME		20000			#minimum time in microseconds that a movement needs to take if the buffer is emptied. 
>DEFAULT_MINTRAVELFEEDRATE	0.0			#		

>DEFAULT_XJERK 			20.0			#Default Axis-X Jerk (mm/s)	
>DEFAULT_YJERK 			20.0			#Default Axis-Y Jerk (mm/s)	
>DEFAULT_ZJERK 			0.4			#Default Axis-Z Jerk (mm/s)	
>DEFAULT_EJERK 			5.0			#Default Axis-E Jerk (mm/s)	


#=================  (Thermal Settings) =======================

>EXTRUDE_MINTEMP 		170			#強ͷ¶ȣ𱣻(MIN TEMP on Extruder ,play a protective role)
>HEATER_0_MAXTEMP 		275			#強ͷ¶ȣ𱣻(MAX TEMP on Extruder ,play a protective role)	
>BED_MAXTEMP 			150			#Ȱ¶ȣ𱣻(MAX TEMP on heated bed play a protective role)

>PREHEAT_1_TEMP_HOTEND 		180			#ԤPLAPreheat PLA 
>PREHEAT_1_TEMP_BED     	70
>PREHEAT_1_FAN_SPEED     	0 	

>PREHEAT_2_TEMP_HOTEND 		240			#ԤABSPreheat ABS
>PREHEAT_2_TEMP_BED    		110
>PREHEAT_2_FAN_SPEED     	0

#========= ʧر (Thermal Runaway Protection) =================

>THERMAL_PROTECTION_PERIOD 		40     		#Seconds
>THERMAL_PROTECTION_HYSTERESIS 		4     		#Degrees Celsius
>WATCH_TEMP_PERIOD 			20		#Seconds
>WATCH_TEMP_INCREASE 			2		#Degrees Celsius

>THERMAL_PROTECTION_BED_PERIOD 		20    		#Seconds
>THERMAL_PROTECTION_BED_HYSTERESIS 	2 		#Degrees Celsius
>WATCH_BED_TEMP_PERIOD 			60      	#Seconds
>WATCH_BED_TEMP_INCREASE 		2       	#Degrees Celsius

#===================== 	PID (PID Settings) =======================

# Type of heat manager for extruder.
>PIDTEMP			1			# 1:PID	; 0:bang-bang
>DEFAULT_Kp			22.2			#	--default
>DEFAULT_Ki			1.08			#	--default
>DEFAULT_Kd			114			#	--default

#Type of heat manager for this heatedBed.
>PIDTEMPBED			0			# 1:PID	; 0:bang-bang
>DEFAULT_bedKp			10.00			#	--default
>DEFAULT_bedKi			0.023			#	--default
>DEFAULT_bedKd			305.4			#	--default


#================ λ (Endstop  Settings) ====================

>MIN_SOFTWARE_ENDSTOPS	 	1       		# ǷʹСλ 0:axes can move below MIN_POS;  1:axes won't move below MIN_POS.
>MAX_SOFTWARE_ENDSTOPS 	 	1       		# Ƿʹλ 0:axes can move below  MAX_POS;  1:axes won't move below MIN_POS.

# Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
>X_MIN_ENDSTOP_INVERTING 	1			# XСλͳ/ 	set to true to invert the logic of the endstop.
>Y_MIN_ENDSTOP_INVERTING 	1			# YСλͳ/ 	set to true to invert the logic of the endstop.
>Z_MIN_ENDSTOP_INVERTING 	1			# ZСλͳ/ 	set to true to invert the logic of the endstop.
>X_MAX_ENDSTOP_INVERTING 	1			# Xλͳ/ 	set to true to invert the logic of the endstop.
>Y_MAX_ENDSTOP_INVERTING 	1			# Yλͳ/ 	set to true to invert the logic of the endstop.
>Z_MAX_ENDSTOP_INVERTING 	1			# ZСλͳ/ set to true to invert the logic of the endstop.
>Z_MIN_PROBE_ENDSTOP_INVERTING 	1			# ƽ̽뿪ͳ/ 	set to true to invert the logic of the probe.
>FIL_RUNOUT_INVERTING 		0			# ϼ⿪ͳ/ 	set to true to invert the logic of the Filament Runout Sensor.
	
# Specify here all the endstop connectors that are connected to any endstop or probe.
>USE_XMIN_PLUG			1			# ʹXСλ 1:used; 0:noused
>USE_YMIN_PLUG			1			# ʹYСλ 1:used; 0:noused
>USE_ZMIN_PLUG			1			# ʹZСλ 1:used; 0:noused
>USE_XMAX_PLUG			0			# ʹXλ 1:used; 0:noused
>USE_YMAX_PLUG			0			# ʹYλ 1:used; 0:noused
>USE_ZMAX_PLUG			1			# ʹZλ 1:used; 0:noused


#================== (Home Settings) ===========================

>X_HOME_DIR 			-1			# X㷽 Direction of endstops when homing; 1=MAX, -1=MIN :[-1,1]
>Y_HOME_DIR 			-1			# Y㷽 Direction of endstops when homing; 1=MAX, -1=MIN :[-1,1]
>Z_HOME_DIR 			-1			# Z㷽 Direction of endstops when homing; 1=MAX, -1=MIN :[-1,1]
>HOMING_FEEDRATE_XY 		2400    		# X Yٶ Homing X Y speeds (mm/m)
>HOMING_FEEDRATE_Z  		600     		# Zٶ Homing Z speeds (mm/m)
>HOME_Y_BEFORE_X		0       		# XYZ˳ When G28 is called,0: X home before Y; 1: Y home before X


#================= Zƽ̽ (Z Probe Options =======================

#Select for a probe connected to Z-Min or Z-Max.
>Z_MIN_PROBE_PIN_MODE		2			# õƽ̽Ӷ˿ 0 : NULL; 1: ZMIN; 2: ZMAX

>Z_PROBE_OFFSET_FROM_EXTRUDER	0			# Zƽ̽ƫ Z offset: -below +above  [the nozzle]		
>X_PROBE_OFFSET_FROM_EXTRUDER	0			# Xƽ̽ƫ X offset: -left  +right  [of the nozzle]
>Y_PROBE_OFFSET_FROM_EXTRUDER	0			# Yƽ̽ƫ Y offset: -front +behind [the nozzle]
>XY_PROBE_SPEED 		4000			# ̽ͷ֮XYƶٶȣmm / mX and Y axis travel speed (mm/m) between probes
>Z_PROBE_SPEED_FAST 		6000			# Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
>Z_PROBE_SPEED_SLOW 		3000			# ÿʱZٶ  Speed for the "accurate" probe of each point


#=================== ȴƽ(Bed Leveling) ==============================

>BED_LEVELING_METHOD 		0			# 0:NULL_BED_LEVELING; 3:AUTO_BED_LEVELING_BILINEAR; 5:MESH_BED_LEVELING	
							#ƽʽֻѡAUTO_BED_LEVELING_BILINEARԶƽʽͨͿѡԶƽֶƽ

>GRID_MAX_POINTS_X 		5			# the number of grid points per dimension. <= 15
>GRID_MAX_POINTS_Y 		5			# the number of grid points per dimension. <= 15	
>Z_CLEARANCE_DEPLOY_PROBE	20			# Z Clearance for Deploy/Stow	   > 0
>Z_CLEARANCE_BETWEEN_PROBES	20			# Z Clearance between probe points  > 0

# Set the boundaries for probing (where the probe can reach).
>LEFT_PROBE_BED_POSITION 	30	
>RIGHT_PROBE_BED_POSITION 	180
>FRONT_PROBE_BED_POSITION 	30	
>BACK_PROBE_BED_POSITION 	180

>MESH_INSET			20			# Mesh inset margin on print area for MESH_BED_LEVELING


#==================== ޲ (Delta Settings) ==========================
>DELTA_SEGMENTS_PER_SECOND	40      		#-- Ĭϣοʹֲ default
>DELTA_DIAGONAL_ROD		346.75			#Center-to-center distance of the holes in the diagonal push rods.	
>DELTA_SMOOTH_ROD_OFFSET	211.5			#Horizontal offset from middle of printer to smooth rod center.
>DELTA_EFFECTOR_OFFSET		28			#Horizontal offset of the universal joints on the end effector.
>DELTA_CARRIAGE_OFFSET		14.5			#Horizontal offset of the universal joints on the carriages.
>DELTA_RADIUS			169			#Horizontal distance bridged by diagonal push rods when effector is centered.	
>DELTA_HEIGHT			302			#ӡ߶ height from z=0.00 to home position
>DELTA_PRINTABLE_RADIUS		125			#ӡƽ̨뾶 Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
>DELTA_CALIBRATION_RADIUS	100			#ƽ뾶 set the radius for the calibration probe points - max 0.8 * DELTA_PRINTABLE_RADIUS 


#===================== WIFI (Wifi Settings) =============================
>CFG_WIFI_MODE			0			#WIFIģʽ wifi mode(0:sta;1:ap)
>CFG_WIFI_AP_NAME		TP-LINK_C944		#APWIFI STAӵ· 
>CFG_WIFI_KEY_CODE		makerbase		#AP: WIFI STAӵ·

>CFG_CLOUD_ENABLE		1			#ʹƷ cloud service enable(0:disable;  1:enable)
>CFG_WIFI_CLOUD_HOST		www.baizhongyun.cn	#cloud server url
>CFG_CLOUD_PORT			10086			#cloud server port

#end.